package com.huike.service;

import com.huike.entity.Admin;
import com.huike.entity.Information;
import com.huike.entity.Policy;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Lwen
 * @since 2019-11-12
 */
public interface IPolicyService extends IService<Policy> {

	public IPage<Policy> listByPage(Admin admin, int page, int limit);
	
	public IPage<Policy> listByPage(int page, int limit);

	public boolean insertPolicy(Admin admin, Policy policy);

	public Boolean deletePolicy(List<String> ids);

}
